home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / fmidipip.txt < prev    next >
Text File  |  1992-03-24  |  1KB  |  64 lines

  1. Fmidipipe(2)              Oct. 1, 1991               Fmidipipe(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Fmidipipe - redirect MIDI input and output
  7.  
  8. SYNOPSIS
  9.      LONG Fmidipipe( WORD pid, WORD in, WORD out);
  10.  
  11. DESCRIPTION
  12.      Fmidipipe changes the MIDI input  and  output  file  handles
  13.      (GEMDOS  file  handles  -4  and -5 respectively) for process
  14.      pid. in is the GEMDOS handle (for the calling process) which
  15.      will  become  the  MIDI input for the receiving process, and
  16.      out is the GEMDOS handle which is to become the MIDI output.
  17.  
  18.      If pid is 0, then the call affects the current  process;  in
  19.      this case, it is roughly equivalent to the sequence
  20.           Fforce(-4, in);
  21.           Fforce(-5, out);
  22.  
  23. RETURNS
  24.      0 on success
  25.  
  26.      EFILNF if the indicated process is not found
  27.  
  28.      EIHNDL if either in or out is not a valid open handle.
  29.  
  30.      EACCDN if in is not open for reading or if out is  not  open
  31.      for writing.
  32.  
  33. SEE ALSO
  34.      Fdup(2), Fforce(2)
  35.  
  36. BUGS
  37.      Any user can change the MIDI input and output  of  any  pro-
  38.      cess.  This will eventually be corrected.
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.